package com.atguigu.ssyx.client.order;

import com.atguigu.ssyx.model.order.OrderInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @描述:
 * @作者:胡树苑
 * @时间:2025/9/25 06:07
 */
@FeignClient("service-order")
public interface OrderFeignClient {
    //根据orderNo获取订单信息
    @GetMapping("/api/order/inner/getOrderInfo/{orderNo}")
    public OrderInfo getOrderInfo(@PathVariable("orderNo") String orderNo);
}
